package com.tansuo365.test1.bean.kucunbean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DaohuoDetails implements Serializable {

    private Integer id;

    private String dalei;

    private String wuliaobianma;

    private String zhuanye;

    private String mingchengguige;

    private String danwei;

    private Double number; //申购数量

    private Double daohuoshuliang;  //到货数量

    private String jiaohuodidian;

    private String zhiliangyaoqiu;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date xuqiuriqi;

    private String beizhu;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date daohuoshijian;

    private String jiagongyigong;

    private String duiyingshengoudanhao;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatetime;

    private Integer zongzhangid;

    @Transient
    private String sort;
    @Transient
    private String order;

}